import React from "react"
import { HashRouter, Switch, Route } from "react-router-dom"
import AppLayout from "./layout"
import Login from "./views/login" // 登录页
export default class App extends React.Component {
  render() {
    return (
      <HashRouter>
        <Switch>
          <Route path="/login" component={ Login }></Route>
          <Route path="/" component={ AppLayout }></Route>
        </Switch>
      </HashRouter>
    )
  }
}
